//
//  ASPin.m
//  myhuibao
//
//  Created by li jun on 13-5-8.
//  Copyright (c) 2013年 myhuibao. All rights reserved.
//

#import "ASPin.h"

@implementation ASPin

@synthesize coordinate;
@synthesize tips;
@synthesize address;
@synthesize cuisine;
@synthesize merchantId;
-(id)initWithCoordinate:(CLLocationCoordinate2D)aCoordinate
{
    if(self =[super init])
    {
        coordinate =aCoordinate;
    }
    return self;
}


-(CLLocationCoordinate2D)coordinate
{
    return coordinate;
}

//注解标题
-(NSString *)title
{
    return tips;
}
-(NSString *)subtitle
{
    return [address stringByAppendingFormat:@"\n%@",cuisine ];
}
@end

